package com.aizuda.boot.modules.business.contract.entity.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author sangyirong
 * @ClassName WorkflowEdgeSaveDTO
 * @Version 1.0
 * @Date 2025/5/23 11:01
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "保存合同流程边DTO")
public class WorkflowEdgeSaveDTO {

    @Schema(description = "目标节点ID")
    private Integer targetNodeId;

    @Schema(description = "条件表达式（用于条件分支）")
    private String conditionExpression;

    @Schema(description = "是否是分支路径")
    private Boolean isBranchPath;

    @Schema(description = "分支路径顺序（用于顺序分支）")
    private Integer branchOrder;
}
